#ifndef X_3_H
#define X_3_H

#include "common.h"

#include <string>

struct x03_hdr_subtype
{
    uint8_t t;
    uint8_t un3;
    uint16_t size;
};

struct x03_hdr
{
    uint32_t type;
    uint32_t k;

    // May point to `x36_x0F` object, among other types?
    uint32_t ptr;

    x03_hdr_subtype subtype;
};

struct x03
{
    x03_hdr hdr;
    bool has_str;
    std::string s;
    uint32_t ptr;
};

#endif // X_3_H
